package com.bnz.service;

import com.bnz.Entity.User;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author xy
 * @date 2022/10/27
 */
@Service
public interface UserService {
    List<User> findAll();

    void add(User user);

    void updata(User user);

    void delete(Integer id);
}
